Repository navigation
fix(material/progress-bar): Support ChromeVox - #22166
Conversation
jelbourn
left a comment
There was a problem hiding this comment.
@jamOne- thanks for the PR, I tested this locally and confirmed that this is an issue on ChromeVox and that this change fixes it.
Could you also make a similar update to the mdc-based progress-bar in the material-experimental directory?
ae8e5b3 to
0844d64
Compare
|
Applied the fix to |
crisbeto
left a comment
There was a problem hiding this comment.
Should we have a unit test for this or at least a comment with some context?
|
Fair point, I'll add comments. |
|
It would basically be |
|
Added the tests, LMK if I could write them better |
Along the same lines as angular#22166. Marks all the root nodes in the progress spinner as `aria-hidden` in order to work around an issue in ChromeVox.
* fix(material/progress-bar): Support ChromeVox * refactor(material/progress-bar): wrap elements with aria-hidden div * fix(material-experimental/mdc-progress-bar): Support ChromeVox #22165 * test(material/progress-bar): add ChromeVox support tests * test(material-experimental/mdc-progress-bar): add ChromeVox support test (cherry picked from commit 5b7b03e)
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
ChromeVox couldn't read a progress bar element without
aria-hiddenattributes set on child elements ofmat-progress-bar.Fixes #22165.